package cn.pzhu.javaee.mybook.dao;

import cn.pzhu.javaee.mybook.domain.User;
import cn.pzhu.javaee.webapp.dao.BaseDao;

public class UserDao extends BaseDao<User>{
	public User findByLoginName(String loginName){
		return get("select * from user where loginName=?", loginName);
	}
}
